projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd74b94
)
usb: dwc3-uniphier: replace <common.h> with <linux/bitops.h>
author
Masahiro Yamada
<
[email protected]
>
Fri, 13 Oct 2017 10:21:56 +0000
(19:21 +0900)
committer
Masahiro Yamada
<
[email protected]
>
Sun, 15 Oct 2017 13:32:24 +0000
(22:32 +0900)
Including <common.h> pulls in a lot of bloat. What this driver needs
is BIT(), so replace it with <linux/bitops.h>
Signed-off-by: Masahiro Yamada <
[email protected]
>
Acked-by: Marek Vasut <
[email protected]
>
drivers/usb/dwc3/dwc3-uniphier.c
patch
|
blob
|
history
diff --git
a/drivers/usb/dwc3/dwc3-uniphier.c
b/drivers/usb/dwc3/dwc3-uniphier.c
index 0d13770d40e8800f27894be41b4ebb2725cbb1eb..25b17a85d000e01b7ee329d606815be19f61fd75 100644
(file)
--- a/
drivers/usb/dwc3/dwc3-uniphier.c
+++ b/
drivers/usb/dwc3/dwc3-uniphier.c
@@
-7,8
+7,8
@@
* SPDX-License-Identifier: GPL-2.0+
*/
-#include <common.h>
#include <dm.h>
+#include <linux/bitops.h>
#include <linux/errno.h>
#include <linux/io.h>
#include <linux/sizes.h>